﻿package com.teaphy.coroutinecrawler.top_suspend

import kotlinx.coroutines.*

fun main() = runBlocking {
    println("start --> ")
    launch {
        repeat(3) {
            println("job1 repeat $it times")
            yield()
        }
    }

    launch {
        repeat(3) {
            println("job2 repeat $it times")
            yield()
        }
    }

    println("--> end")
}